package com.消除ifelse.责任链模式;

import lombok.Getter;
import lombok.Setter;

/**
 * @Date 2021/1/14 17:50
 * @Author WangLinBao
 * @Description
 */
@Getter
@Setter
public abstract class PayHandler {
    private PayHandler next;

    public abstract void pay(String pay);
}
